import request from "../utils/request.js"
import api from './api.js'

export function login(code) {
  return request.get(api.Login, {code: code}, { noAuth: true})
}